package com.yunhe.service;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.yun.dao.adminLogin;
import com.yun.dao.checkUserIn;
import com.yunhe.bean.Admin;
import com.yunhe.bean.ShopUser;
import com.yunhe.util.MySession;

public class adminLoginService {
			//admincheck登录
			public List<Admin> checklogin(Admin admin){			
				SqlSession se = new MySession().getSession();
				adminLogin mapper = se.getMapper(adminLogin.class);
				 List<Admin> checkname = mapper.checkname(admin);
					return checkname;	
			}
}
